<?php

class Nuo_Html_Render_Cancel
{
	public function render($ele)
	{
		$ele -> setAttrib('onclick', "nuo.cancel(this)");
		return sprintf('<button %s>%s</button>', $ele -> __flat(), $ele -> getLabel());
	}

}
